Skip to content

Feature/add search#171

Closed
walief wants to merge 3 commits into
github:mainfrom
walief:feature/add-search
Closed

Feature/add search#171
walief wants to merge 3 commits into
github:mainfrom
walief:feature/add-search

Conversation

@walief

@walief walief commented Jun 24, 2026

Copy link
Copy Markdown

No description provided.

walief and others added 3 commits May 27, 2026 01:25
- Implement search_books in samples/book-app-project/books.py
- Add CLI `search` command in samples/book-app-project/book_app.py
- Add unit tests for search behavior in samples/book-app-project/tests/test_books.py
- Update README with search usage examples
- Update .github/copilot-instructions.md and add Playwright demo scaffold

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace function-based command dispatch with Command abstract base class.
Each command is now self-contained, testable, and easy to extend.

Improvements:
- Commands inherit from Command ABC (execute, help methods)
- CommandDispatcher manages registration and execution
- Added prompt_required() for validated input with retry
- Better error handling with consistent status indicators (✓/✗)
- Improved type hints (List[Book] instead of List[Any])
- All tests pass

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@walief walief closed this Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant